cd "$(dirname $0)"
. ./utils.sh

# cd project dir
cd ..
container_name="react-debug"
image_name="m986883511/react-debug"
current_dir=`get_current_dir`
echo "docker mapping $current_dir to $container_name:/app"

use_winpty=`get_use_winpty`

$use_winpty docker run --rm -it -p 3000:3000 -e CHOKIDAR_USEPOLLING=true --name $container_name -v $current_dir:/app $image_name